package edu.sctu.jarime.may.day20150510;

/**
 * Created by user19 on 2015/5/10.
 */
public class TextMain0510 {

    public static void main(String[] args) {

//        TextOne textOne=new TextOne(10);
//        TextOne textOne1=new TextOne("jarime");
//
//
//        int sum=textOne.sum();
//        System.out.println(sum);


//        TextThree textThree=new TextThree();
//        TextOne textOne=new TextOne(textThree);
//        TextOne textOne1=new TextOne(123);
//        TextOne textOne2=new TextOne(new String[]{"jiejie", "meimei"});
//
//        textThree.number=55;
//        int sum=textOne.sum();
//        System.out.println(sum);
        TextOne textOne=new TextOne();
        textOne.setage(19);
        textOne.setname("张三");
        textOne.setsex("boy");

        TextOne textOne1=new TextOne();
        textOne1.setage(25);
        textOne1.setname("李四");
        textOne1.setsex("girl");

        TextOne textOne2=new TextOne();
        textOne2.setage(22);
        textOne2.setname("王五");
        textOne2.setsex("boy");


        TextOne[] s={textOne,textOne1,textOne2};
        TextTwo textTwo=new TextTwo();
        textTwo.information(s);
        textTwo.judge();



    }

}
